package com.wwx.util;



import org.hibernate.cfg.Configuration;

public class JDBC {
	private static Configuration cfg;
	public static Configuration getConfiguration() {
		if(cfg==null) {
			cfg = new Configuration().configure("hibernate.cfg.xml");
		}
		return cfg;
	}
}
